<?php

namespace App\Http\Controllers\api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class ApiController extends Controller
{
    //
    public function pushmsg($bot_token){
        
        $myfile = fopen("bot_push_log.txt", "w") or die("Unable to open file!");
        $txt = $bot_token;
        fwrite($myfile, $txt);
        return "测试";
    }
}
